ProfilePress\Core\Membership\Models\Order\OrderEntity A

Total Complexity 60
Dependencies 9
Dependents 9
Total lines 523
Lines of code 225
Logical lines of code 94
Comment lines 109
Methods 47
Properties 26

Methods 47

Method Rating Maintainability Complexity Lines of code
__construct()
S
68 4 7
is_refundable()
S
64 3 10
refund_order()
S
59 2 15
update_status()
S
62 2 11
get_customer_full_address()
S
62 2 10
save()
S
64 2 10
set_currency()
S
71 2 6
set_mode()
S
70 2 6
set_status()
S
70 2 6
complete_order()
S
65 2 9
is_renewal_order()
S
80 1 3
is_new_order()
S
80 1 3
key_is_valid()
S
79 1 3
is_completed()
S
80 1 3
is_failed()
S
80 1 3
is_pending()
S
80 1 3
is_refunded()
S
80 1 3
delete_note()
S
80 1 3
get_refund_url()
S
73 1 4
update_transaction_id()
S
79 1 3
get_notes()
S
80 1 3
add_note()
S
79 1 3
get_linked_transaction_id()
S
79 1 3
get_meta()
S
72 1 6
add_meta()
S
70 1 7
update_meta()
S
70 1 7
get_plan_purchase_note()
S
68 1 9
get_plan_id()
S
80 1 3
get_transaction_id()
S
82 1 3
get_total()
S
81 1 3
get_id()
S
80 1 3
fail_order()
S
70 1 6
set_order_key()
S
78 1 3
get_customer_tax_id()
S
80 1 3
get_subtotal()
S
81 1 3
get_tax()
S
81 1 3
get_tax_rate()
S
81 1 3
get_discount()
S
81 1 3
get_customer_email()
S
80 1 3
get_order_number()
S
78 1 3
get_order_key()
S
82 1 3
get_reduced_order_key()
S
78 1 3
get_order_id()
S
81 1 3
exists()
S
80 1 3
get_subscription_id()
S
80 1 3
get_customer_id()
S
80 1 3
delete_meta()
S
72 1 6